package com.cy.pj.sys.service;

import com.cy.pj.sys.pojo.PageObject;
import com.cy.pj.sys.pojo.SysLog;

import javax.management.ServiceNotFoundException;

public interface SysLogService {
    /**
     * @param username 基于条件查询时的参数名
     * @param pageCurrent 当前的页码值
     * @return 当前页记录+分页信息
     */

    PageObject<SysLog> findPageObjects(
            String username,
            Integer pageCurrent
    );

    int deleteObjects(Integer... ids);

    void saveObject(SysLog entity);
}
